package com.d18_homework.homework2;

public class Question {
    private String id;
    private String name;
    private String content;
    private CheckState state;

    public Question() {
    }

    public Question(String id, String name, String content, CheckState state) {
        this.id = id;
        this.name = name;
        this.content = content;
        this.state = state;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public CheckState getState() {
        return state;
    }

    public void setState(CheckState state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Question{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                ", state=" + state +
                '}';
    }
}
